package com.base.card.service;

import com.base.card.domain.bo.TCryptCardKeyBo;
import com.base.card.domain.vo.TCryptCardKeyVo;
import com.base.common.core.page.TableDataInfo;
import com.base.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 密码卡密钥Service接口
 *
 * @author base
 * @date 2023-10-17
 */
public interface ITCryptCardKeyService {

    /**
     * 查询密码卡密钥
     */
    TCryptCardKeyVo queryById(String autoId);

    /**
     * 查询密码卡密钥列表
     */
    TableDataInfo<TCryptCardKeyVo> queryPageList(TCryptCardKeyBo bo, PageQuery pageQuery);

    /**
     * 查询密码卡密钥列表
     */
    List<TCryptCardKeyVo> queryList(TCryptCardKeyBo bo);

    /**
     * 新增密码卡密钥
     */
    Boolean insertByBo(TCryptCardKeyBo bo);

    /**
     * 修改密码卡密钥
     */
    Boolean updateByBo(TCryptCardKeyBo bo);

    /**
     * 校验并批量删除密码卡密钥信息
     */
    Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid);
}
